/**
     * 计算两个时间戳之间相差的日期
     *
     * @param [int] $begin_time
     * @param [int] $end_time
     * @return void
     * @Description
     * @author wjx
     */
    function timediff($begin_time, $end_time)
    {
        //计算天数
        $timediff = $end_time - $begin_time;
        if ($timediff < 0) {
            return '已结束';
        }
        $days = intval($timediff / 86400);
        //计算小时数
        $remain = $timediff % 86400;
        $hours = intval($remain / 3600);
        //计算分钟数
        $remain = $remain % 3600;
        $mins = intval($remain / 60);
        //计算秒数
        $secs = $remain % 60;
        // $res = array("day" => $days,"hour" => $hours,"min" => $mins,"sec" => $secs);
        $res = array("day" => $days, "hour" => $hours, "min" => $mins, "sec" => $secs);
        return $days . "天" . $hours . "小时";
    }